<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href = "../css/bootstrap.min.css">
    <style type="text/css">
        div{

        }
    </style>
<title>水平排列表单</title>
</head>
<body>
	<div class="container">
		<form action="#" method="post" class="form-horizontal" role="from">
			<legend>用户登录</legend>
			<div class="form-group">
				<label class="col-sm-2 control-label">用户名:</label>
				<div class="col-sm-8">
					<input type="text" class="form-control"/>
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-sm-2">密码:</label>
				<div class="col-sm-8">
					<input type="password" class="form-control"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<div class="checkbox">
						<label>
							<input type="checkbox">记住密码
						</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2">
					<button type="submit" class="btn btn-default">登录</button>
				</div>
			</div>
		</form>
	</div>
</body>
</html>